
var old_menu = "";
var old_cell = "";
function menuclick(submenu, cellbar) {
    if (old_menu != submenu) {
        if (old_menu != "") {
            old_menu.style.display = "none";
            old_cell.src = xtree_path+"/images/tright.gif";
        }
        submenu.style.display = "block";
        cellbar.src = xtree_path+"/images/tbottom.gif";
        old_menu = submenu;
        old_cell = cellbar;
    } else {
        submenu.style.display = "none";
        cellbar.src = xtree_path+"/images/tright.gif";
        old_menu = "";
        old_cell = "";
    }
}

